package cn.com.isfree.db.task;

import org.quartz.DisallowConcurrentExecution;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

@DisallowConcurrentExecution
public class CommonJob implements Job {
	
	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		try {
			Object o = (Object) context.getMergedJobDataMap().get("test");
			System.out.println(o);
		}catch (Exception e) {
			e.printStackTrace();
		}
	}

}
